import React from 'react';
import ReactDOM from 'react-dom';
import "./static/css/common.less"
import AppRouter from "./router/AppRouter"

import configureStore from "./redux/store/configureStore"
// 关联react组件
import { Provider } from 'react-redux'

//创建Store对象
const store = configureStore();

ReactDOM.render(
	<Provider store = { store }>
		<AppRouter />
	</Provider>
	, document.getElementById('root'));

